#ifndef AQFORNECEDOR_H
#define AQFORNECEDOR_H

#include "entity.h"
#include <QObject>


class AQFornecedor : public Entity
{
    Q_OBJECT

    Q_PROPERTY(QString Nome READ Nome WRITE setNome NOTIFY NomeChanged)
    Q_PROPERTY(QString Endereco READ Endereco WRITE setEndereco NOTIFY EnderecoChanged)
    Q_PROPERTY(QString Bairro READ Bairro WRITE setBairro NOTIFY BairroChanged)
    Q_PROPERTY(QString PosLatitude READ PosLatitude WRITE setPosLatitude NOTIFY PosLatitudeChanged)
    Q_PROPERTY(QString PosLongitude READ PosLongitude WRITE setPosLongitude NOTIFY PosLongitudeChanged)
    Q_PROPERTY(QString Contato READ Contato WRITE setContato NOTIFY ContatoChanged)
    Q_PROPERTY(QString Tel1 READ Tel1 WRITE setTel1 NOTIFY Tel1Changed)
    Q_PROPERTY(QString Tel2 READ Tel2 WRITE setTel2 NOTIFY Tel2Changed)
    Q_PROPERTY(QString OBS READ OBS WRITE setOBS NOTIFY OBSChanged)

public:
    explicit AQFornecedor(QObject *parent = 0);

    QString Nome();
    void setNome(QString Nome);

    QString Endereco();
    void setEndereco(QString Endereco);

    QString Bairro();
    void setBairro(QString Bairro);

    QString PosLatitude();
    void setPosLatitude(QString PosLatitude);

    QString PosLongitude();
    void setPosLongitude(QString PosLongitude);

    QString Contato();
    void setContato(QString Contato);

    QString Tel1();
    void setTel1(QString Tel1);

    QString Tel2();
    void setTel2(QString Tel2);

    QString OBS();
    void setOBS(QString OBS);


signals:
    void NomeChanged();
    void EnderecoChanged();
    void BairroChanged();
    void PosLatitudeChanged();
    void PosLongitudeChanged();
    void ContatoChanged();
    void Tel1Changed();
    void Tel2Changed();
    void OBSChanged();

public slots:

private:
    QString m_Nome;
    QString m_Endereco;
    QString m_Bairro;
    QString m_PosLatitude;
    QString m_PosLongitude;
    QString m_Contato;
    QString m_Tel1;
    QString m_Tel2;
    QString m_OBS;

};

#endif // AQFORNECEDOR_H
